package com.training.file;

import java.io.File;
import java.io.IOException;

public class FileDemo04 {
	public static void main(String[] args) throws Exception {
		final String PATH ="D:\\ abc.txt";
		File file = new File(PATH);
		file.createNewFile();
//		file.delete();
		
		System.out.println(file.isHidden());
		System.out.println(file.getTotalSpace()/1024/1024/1024+"G");
	}
}
